package com.zlict.admin.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zlict.system.mapper.SysUserMapper;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zlict.common.annotation.Excel;
import com.zlict.common.core.domain.BaseEntity;

/**
 * 研发人员工时对象 rd_pworkhours
 * 
 * @author ruoyi
 * @date 2025-06-12
 */
public class RdPworkhours extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userName;

    private String userId;
    private String projectId;


    private String nickName;

    private String month;

    private String zgs;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String projectnumber;

    /** 研发日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "研发日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date workDate;

    /** 研发工时 */
    @Excel(name = "研发工时")
    private Double workhours;

    /** 工作日志 */
    @Excel(name = "工作日志")
    private String worklog;

    /** 审核状态（0没审 1已审） */
    @Excel(name = "审核状态", readConverterExp = "0=没审,1=已审")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }

    public void setProjectnumber(String projectnumber) 
    {
        this.projectnumber = projectnumber;
    }

    public String getProjectnumber() 
    {
        return projectnumber;
    }

    public void setWorkDate(Date workDate) 
    {
        this.workDate = workDate;
    }

    public Date getWorkDate() 
    {
        return workDate;
    }

    public void setWorkhours(Double workhours) 
    {
        this.workhours = workhours;
    }

    public Double getWorkhours() 
    {
        return workhours;
    }

    public void setWorklog(String worklog) 
    {
        this.worklog = worklog;
    }

    public String getWorklog() 
    {
        return worklog;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getZgs() {
        return zgs;
    }

    public void setZgs(String zgs) {
        this.zgs = zgs;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userName", getUserName())
            .append("projectnumber", getProjectnumber())
            .append("workDate", getWorkDate())
            .append("workhours", getWorkhours())
            .append("worklog", getWorklog())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("status", getStatus())
            .toString();
    }
}
